﻿namespace DatabaseDoc.Library
{
    using System.ComponentModel.Composition;

    /// <summary>
    /// Outputter for a database doc
    /// </summary>
    [InheritedExport]
    public interface IOutputter
    {
        /// <summary>
        /// Gets the key.
        /// </summary>
        /// <value>The key.</value>
        string Key { get; }   

        /// <summary>
        /// Outputs the specified database doc.
        /// </summary>
        /// <param name="databaseDoc">The database doc.</param>
        /// <param name="fileName">Name of the file.</param>
        void Output(DatabaseDoc databaseDoc, string fileName);
    }
}